<?php if (!defined('THINK_PATH')) exit();?><?php if(0 == $union_state['unioning']): ?><a event-node="doUnion" event-args="uid=<?php echo ($fid); ?>&uname=<?php echo ($uname); ?>&unioning=<?php echo ($union_state['unioning']); ?>&unioner=<?php echo ($union_state['unioner']); ?>&refer=<?php echo ($refer); ?>&isrefresh=<?php echo ($isrefresh); ?>" href="<?php echo U('public/Union/doUnion', array('fid'=>$fid));?>" class="btn-cancel"></a>
<?php else: ?>
    <a event-node="unUnion" event-args="uid=<?php echo ($fid); ?>&uname=<?php echo ($uname); ?>&unioning=<?php echo ($union_state['unioning']); ?>&unioner=<?php echo ($union_state['unioner']); ?>&refer=<?php echo ($refer); ?>&isrefresh=<?php echo ($isrefresh); ?>" href="<?php echo U('public/Union/unUnion', array('fid'=>$fid));?>" class="btn-cancel"></a><?php endif; ?>